package com.sugar.real.estate.module.business.controller.admin.apartment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 楼盘/公寓新增/修改 Request VO")
@Data
public class ApartmentUpdateReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19864")
    @NotNull(message = "标识不能为空")
    private Long id;

    @Schema(description = "上下架（0下架 1上架）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "类型不能为空")
    private Boolean isShow;
}